#ifndef FACEBOOK_UTILS
#define FACEBOOK_UTILS

#include "cocos2d.h"
//#import <MessageUI/MessageUI.h>
//#import <MessageUI/MFMessageComposeViewController.h>

USING_NS_CC;

class FacebookUtils: public CCObject {
protected:
public:
    static void setAdInvisible(bool isInvisible);
    static void share(char* name, char* caption, char* description, char* link, char* picture, CCMenuItemSprite* button);
    static bool isLoggedFacebook();
    static void askFriend(char* askType, char* requestType, char* message, char* caption);
    static void getFacebookUserId(CCArray* collectedUserId);
    static void getFriendList(CCArray* friendList);
    static void getAllRequest(CCArray* requestsObtained);
    static void authenticate();
    static void getImage(char* link, CCSprite* sprite);
    static void loadImage(char* link, char* name, CCDictionary* cache);
    static void deleteRequest(const char* requestId);
    static void sendRequestToRecipent(char* to, char* askType, char* requestType, char* message, char* caption);
    static void showDialog(char* titleStr, char* contentStr, char* doneTextStr);
    static void openMessage(char* messageContent, char* number);
    static bool isiPad();
    static std::string getDeviceId();
private:
    FacebookUtils();
    virtual ~FacebookUtils();
};

#endif /* UTILS_H */


